package dev.ideas.funkyj.function;

import dev.ideas.funkyj.tuple.Pair;

/**
*/
public abstract class P2<T1, T2> extends P<Pair<T1, T2>> {
    public abstract boolean apply(T1 t1, T2 t2);

    public final Boolean apply(Pair<T1, T2> pair) { return apply(pair.first(), pair.second()); }
}
